/**
 * Project Name:dsrs-systemservice-domain
 * File Name:PwdRuleUpdateForm.java
 * Package Name:com.bwda.dsrs.systemservice.domain.form.pwdrule;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 */
package com.bwda.dsrs.systemservice.domain.form.pwdrule;

import com.bwda.dsrs.base.centerbase.condition.BaseCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 密码规则（修改条件）
 *
 * @author liangjianyong
 * @date 2019/4/27
 */
@Data
@ApiModel(description = "密码规则")
public class PwdRuleUpdateForm {

	@ApiModelProperty(value = "0不做要求1包含")
	private Integer hasNumber;

	@ApiModelProperty(value = "0不做要求1包含")
	private Integer hasUpper;

	@ApiModelProperty(value = "0不做要求1包含")
	private Integer hasLower;

	@ApiModelProperty(value = "0不做要求1包含")
	private Integer hasSpecial;

	@ApiModelProperty(value = "特殊字符列举!@#$%^&")
	private String characters;

	@ApiModelProperty(value = "是否允许包含用户名 0不可以1可以")
	private Integer hasUserName;

	@ApiModelProperty(value = "连续字符（长度）")
	private Integer continuousLength;

	@ApiModelProperty(value = "0不做弱密码校验1启用弱密码检验")
	private Integer isWeakPwdCheck;

	@ApiModelProperty(value = "历史密码校验")
	private Integer historyPwdTime;

	@ApiModelProperty(value = "0内置1自定义")
	private Integer isDefault;

	@ApiModelProperty(value = "最小长度")
	private Long minLength;

	@ApiModelProperty(value = "最大长度")
	private Long maxLength;

	@ApiModelProperty(value = "有效期")
	private Integer validDays;

	@ApiModelProperty(value = "提前告知天数")
	private Integer notifyDays;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "0正常 1禁用")
	private Integer status;

}